<?

function V_Customer_Home($arayData) { ?>
    <table width='100%'>
        <tr>
    	<td width='210px' style='border-right: 1px solid #dfdfdf' valign='top'>
    	    <div style='margin-left: 20px;margin-right: 20px'>
		    <?
		    if ($arayData[0]['notes'] != "") {
			$sex = "";
			if ($arayData[0]['sex'] == 1) {
			    $sex = "Anh ";
			} else {
			    $sex = "Chị ";
			}
			echo $sex . ' "<b>' . $arayData[0]['fullname'] . '</b>"<br/>ở ' . $arayData[0]['address'] . " đã chia sẻ: ";
			echo '<br/><br/>"<i> ' . $arayData[0]['notes'] . '</i> "';
		    }
		    ?>
    	    </div>
    	</td>
    	<td width='210px' style='border-right: 1px solid #dfdfdf' valign='top'>
    	    <div style='margin-left: 20px;margin-right: 20px'>
		    <?
		    if ($arayData[1]['notes'] != "") {
			$sex = "";
			if ($arayData[1]['sex'] == 1) {
			    $sex = "Anh ";
			} else {
			    $sex = "Chị ";
			}
			echo $sex . ' "<b>' . $arayData[1]['fullname'] . '</b>"<br/>ở ' . $arayData[1]['address'] . " đã chia sẻ: ";
			echo '<br/><br/>"<i> ' . $arayData[1]['notes'] . '</i> "';
		    }
		    ?>
    	    </div>
    	</td>
    	<td width='210px' style='border-right: 1px solid #dfdfdf' valign='top'>
    	    <div style='margin-left: 20px;margin-right: 20px'>
		    <?
		    if ($arayData[2]['notes'] != "") {
			$sex = "";
			if ($arayData[2]['sex'] == 1) {
			    $sex = "Anh ";
			} else {
			    $sex = "Chị ";
			}
			echo $sex . ' "<b>' . $arayData[2]['fullname'] . '</b>"<br/>ở ' . $arayData[2]['address'] . " đã chia sẻ: ";
			echo '<br/><br/>" <i>' . $arayData[2]['notes'] . '</i> "';
		    }
		    ?></div>
    	</td>
    	<td width='210px' style='border-right: 1px solid #dfdfdf' valign='top'>
    	    <div style='margin-left: 20px;margin-right: 20px'>
		    <?
		    if ($arayData[3]['notes'] != "") {
			$sex = "";
			if ($arayData[3]['sex'] == 1) {
			    $sex = "Anh ";
			} else {
			    $sex = "Chị ";
			}
			echo $sex . ' "<b>' . $arayData[3]['fullname'] . '</b>"<br/>ở ' . $arayData[3]['address'] . " đã chia sẻ: ";
			echo '<br/><br/>" <i>' . $arayData[3]['notes'] . '</i> "';
		    }
		    ?>
    	    </div>
    	</td>
        </tr>
    </table>
<? } ?>